.layout {
    & > .ivu-layout {
        height: 100vh;
    }
    .ivu-layout-sider-children {
        overflow-y: auto;

        &::-webkit-scrollbar { /*滚动条整体样式*/
            width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
            height: 1px;
        }

        &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
            border-radius: 0;
            background: #555;
        }

        &::-webkit-scrollbar-track { /*滚动条里面轨道*/
            border-radius: 10px;
            background: #eee;
        }
    }

    .cms-logo {
        height: 50px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
    }

    .layout-header-bar {
        background: #fff;
        box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
        display: flex;
        justify-content: space-between;
        align-items: center;

        .menu-icon {
            cursor: pointer;
            vertical-align: middle;
        }

        .ivu-breadcrumb {
            font-size: 14px;

            .ivu-icon {
                transform: translateY(-1px);
            }
        }

        .left {
            display: flex;
            align-items: center;
        }

        .right {
            padding-right: 15px;

            .notice {
                font-size: 25px;
                margin-right: 10px;
            }
        }
    }

    .layout-logo-left {
        width: 90%;
        height: 30px;
        background: #5b6270;
        border-radius: 3px;
        margin: 15px auto;
    }

    .menu-icon {
        transition: all .3s;
    }

    .rotate-icon {
        transform: rotate(-90deg);
    }

    .menu-item span {
        display: inline-block;
        overflow: hidden;
        width: 69px;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
        transition: width .2s ease .2s;
    }

    .menu-item i {
        transition: font-size .2s ease, transform .2s ease;
        vertical-align: middle;
        font-size: 16px;
    }

    .collapsed-menu span {
        display: none;
        transition: width .2s ease;
    }

    .collapsed-menu i {
        transform: translateX(5px);
        transition: font-size .2s ease .2s, transform .2s ease .2s;
        vertical-align: middle;
        font-size: 22px;
    }

    .ivu-layout-sider-collapsed {
        .ivu-menu-item,
        .ivu-menu-submenu-title {
            padding: 10px 15px;
        }

        .ivu-menu-submenu .ivu-menu,
        .ivu-menu-submenu-title-icon {
            display: none;
        }
    }
}

.cur {
    cursor: pointer;
}
